My minimal git prompt. Official git prompt is too slow and I need only tiny subset of the features

#+begin_src shell
cargo build --relase
#+end_src

.bashrc

#+begin_src bash
__git_aware_prompt(){
    PS1="[ \W ]$(/path/to/binary/git-prompt-rs)\$ "
}
PROMPT_COMMAND=__git_aware_prompt
#+end_src


[ some_dir ] (develop)$
